Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix syntax warnings from newer versions of Docker #437

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Jan 7, 2025

Issue number:
Fixes #436

Description of changes:
Align case for FROM and AS, and suppress checks that don't apply.

Testing done:
Verified that the warnings are no longer logged.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Newer versions of Docker warn about the "SDK" and "TOKEN" arguments.
Pass an argument to skip these checks while documenting why it's safe
to do so.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
@bcressey bcressey force-pushed the buildkit-build-checks branch from 0be69a4 to be2328c Compare January 7, 2025 22:00
@cbgbt
Copy link
Contributor

cbgbt commented Jan 13, 2025

Thanks! Sorry to have missed this, I haven't seen these messages on the systems I've been testing on.

@sumukhballal sumukhballal self-requested a review January 13, 2025 19:30
@cbgbt cbgbt merged commit 2899c62 into bottlerocket-os:develop Jan 13, 2025
3 checks passed
@bcressey bcressey deleted the buildkit-build-checks branch January 13, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

warnings with newer Docker syntax image
3 participants